package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.base.mapper.voipmapper.UrlconfigMapper;
import com.base.po.voip.Urlconfig;
import com.base.po.voip.UrlconfigExample;
import com.base.service.UrlconfigService;
import org.springframework.stereotype.Service;

@Service("urlconfigService")
public class UrlconfigServiceImpl implements UrlconfigService {
	@Autowired
	private UrlconfigMapper urlconfigMapper;

	@Override
	public int countByExample(UrlconfigExample example) {
		return urlconfigMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(UrlconfigExample example) {
		return urlconfigMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return urlconfigMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Urlconfig record) {
		return urlconfigMapper.insert(record);
	}

	@Override
	public int insertSelective(Urlconfig record) {
		return urlconfigMapper.insertSelective(record);
	}

	@Override
	public List<Urlconfig> selectByExample(UrlconfigExample example) {
		return urlconfigMapper.selectByExample(example);
	}

	@Override
	public Urlconfig selectByPrimaryKey(Integer id) {
		return urlconfigMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(Urlconfig record, UrlconfigExample example) {
		return urlconfigMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(Urlconfig record, UrlconfigExample example) {
		return urlconfigMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(Urlconfig record) {
		return urlconfigMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Urlconfig record) {
		return urlconfigMapper.updateByPrimaryKey(record);
	}

}
